package com.apex.security.api.entity;
/**
 * 分页
 * Created by 王建 on 2017/6/14.
 */
public class Pager {

    private Integer current;//第几页

    private Integer rows;//每页几条

    private Integer totalPages;//一共几页

    private Long totalElements;//一共多少条数据

    private String direction;//排序方式

    private String order;//排序字段

    public Integer getCurrent() {
        return current;
    }

    public void setCurrent(Integer current) {
        this.current = current;
    }

    public Integer getRows() {
        return rows;
    }

    public void setRows(Integer rows) {
        this.rows = rows;
    }

    public Integer getTotalPages() {
        return totalPages;
    }

    public void setTotalPages(Integer totalPages) {
        this.totalPages = totalPages;
    }

    public String getDirection() {
        return direction;
    }

    public void setDirection(String direction) {
        this.direction = direction;
    }

    public String getOrder() {
        return order;
    }

    public void setOrder(String order) {
        this.order = order;
    }

    public Long getTotalElements() {
        return totalElements;
    }

    public void setTotalElements(Long totalElements) {
        this.totalElements = totalElements;
    }
}
